markers
Type
property
Summary
Marker points on the map
Syntax
set the markers of <widget> to <pMarkerData>
get the markers of <widget>
Description
Allows the display of markers at specified points on the map, with associated title and optional subtitle.
The marker array has the following form:
{
<tag for marker>: {
\"title\": <title of the marker>,
\"subtitle\": <optional subtitle of the marker>,
\"coordinates\": <coordinates of the marker>
},
<tag for marker>: {
...
},
...
}
Examples
local tMarkers, tMarkerData
put "55.9533,-3.1883" into tMarkerData["coordinates"]
put "Centre of Edinburgh" into tMarkerData["title"]
put tMarkerData into tMarkers["Edinburgh"]
set the markers of widget "Map" to tMarkers
Compatibility and Support
OS
mac
ios
android
web
Platforms
desktop
mobile